package com.example.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色
 *
 * @author yang
 * @date 2021-08-23 23:44:11
 */
@Data
@TableName("sys_role")
@EqualsAndHashCode(callSuper = true)
public class SysRoleEntity extends Model<SysRoleEntity> {
private static final long serialVersionUID = 1L;

/**
 * 角色ID
 */
@ApiModelProperty( value = "角色ID")
@TableId
private String id;
/**
 * 角色编码
 */
@ApiModelProperty( value = "角色编码")
private String roleCode;
/**
 * 角色名称
 */
@ApiModelProperty( value = "角色名称")
private String roleName;

}